package com.winshare.saleAssistant.util;

public class Tuple2<T,R> {

    private final T first;
    private final R second;

    private Tuple2(T first, R second) {
        this.first = first;
        this.second = second;
    }

    public static <T, R> Tuple2<T, R> of(T first, R second) {
        return new Tuple2(first, second);
    }

    public T getFirst() {
        return this.first;
    }

    public R getSecond() {
        return this.second;
    }
}
